package com.itheima.sh.c_HomeWork3;

public class JavaTeacher extends Staff{
    @Override
    public void work() {
        System.out.println(getName()+"教Java");
    }
}
